package com.library.lockProvider.service;

import com.library.lockProvider.pojo.Cabinet.CabinetResult;

import java.io.UnsupportedEncodingException;

public interface CabinetService {
    public String checkIsOnline(int cabinetId) throws UnsupportedEncodingException;
    public CabinetResult set_deviceName(int cabinetId,String cabinetName);
    public CabinetResult set_qrParam(int cabinetId,String qrCode);
    public CabinetResult set_text(int cabinetId,String text1,String text2,String text3);
    public CabinetResult get_boxInfo(int cabinetId,int boxNo);
    public CabinetResult openOneBox(String s_id);
    public CabinetResult openAllBox(int cabinetId);
    public CabinetResult clearOneBox(int cabinetId,int boxNo,int optType,int isOpen);
    public CabinetResult clearAllBox(int cabinetId);
    public CabinetResult setOpenCode6(int cabinetId,int boxNo,int openCode6,int effectFlag,int isOpen);
    public CabinetResult setOpenCode(int cabinetId,int boxNo,String openCode11,String pwd,int effectFlag,int isOpen);
}
